<?php

declare(strict_types=1);

namespace Upside\Router;

use Upside\Std\Option;

interface RouterInterface
{
    /**
     * @return Option<Route>|Option<null>
     */
    public function match(string $path): Option;
}
